Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


getHighKey

This function returns the character key with the highest sort rank for the given collation.

You can use this character to make a high key. For example, to search all customer names from “A” to “B,” inclusive, you can use the following:

ASSIGN low = "A" 
       high = "B" + getHighKey(session:cpcoll). 
FOR EACH customer WHERE custname >= low AND custname <= high. 

If you are preparing to use the COMPARE statement or COLLATE phrase with a specified collation table name, then you can supply that table name to this function to get the high key for that collation.

Location: af\app\afgenmngrp.i

Parameters:

INPUT pcCollationTableName AS CHARACTER Returns: CHARACTER

Notes: None

Examples: See the applyFilter procedure in af\sup2\afsdofiltw.w.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095